package com.dst.smart.model;

import com.dst.smart.app.MainActivity;

public class WeatherInfo {
	private String wind;// ": "无持续风向微风",
	private int windLevel;// ": 0,
	private int dateLong;// ": 1509379200,
	private String lastUpdateTime;// ": "2017-10-31 16:29:26",
	private int weatherType;// ": 0,
	private String date;// ": "2017-10-31",
	private String city;// ": "深圳",
	private String exp;
	// ": {
	// "ct": {
	// "expName": "穿衣指数",
	// "level": "舒适",
	// "prompt": "建议着长袖T恤、衬衫加单裤等服装。年老体弱者宜着针织长袖衬衫、马甲和长裤。"
	// }
	// },
	private String airQuality;// ": "良",
	private String humidity;// ": "36%",
	private String tempRange;// ": "18℃~25℃",
	private int temp;// ": 24,
	private String weather;// ": "晴",
	private String pm25;// ": "50",
	private int airData;// ": 72
	public String getWind() {
		return wind;
	}
	public void setWind(String wind) {
		this.wind = wind;
	}
	public int getWindLevel() {
		return windLevel;
	}
	public void setWindLevel(int windLevel) {
		this.windLevel = windLevel;
	}
	public int getDateLong() {
		return dateLong;
	}
	public void setDateLong(int dateLong) {
		this.dateLong = dateLong;
	}
	public String getLastUpdateTime() {
		return lastUpdateTime;
	}
	public void setLastUpdateTime(String lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}
	public int getWeatherType() {
		return weatherType;
	}
	public void setWeatherType(int weatherType) {
		this.weatherType = weatherType;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getExp() {
		return exp;
	}
	public void setExp(String exp) {
		this.exp = exp;
	}
	public String getAirQuality() {
		return airQuality;
	}
	public void setAirQuality(String airQuality) {
		this.airQuality = airQuality;
	}
	public String getHumidity() {
		return humidity;
	}
	public void setHumidity(String humidity) {
		this.humidity = humidity;
		MainActivity.Humidity[7]=Integer.parseInt(humidity.replace("%",""));
	}
	public String getTempRange() {
		return tempRange;
	}
	public void setTempRange(String tempRange) {
		this.tempRange = tempRange;
	}
	public int getTemp() {
		return temp;
	}
	public void setTemp(int temp) {
		this.temp = temp;
		MainActivity.insideTemp[7]=temp;

	}
	public String getWeather() {
		return weather;
	}
	public void setWeather(String weather) {
		this.weather = weather;
	}
	public String getPm25() {
		return pm25;
	}
	public void setPm25(String pm25) {
		this.pm25 = pm25;
		MainActivity.pm25[7]=Integer.parseInt(pm25);
	}
	public int getAirData() {
		return airData;
	}
	public void setAirData(int airData) {
		this.airData = airData;
	}
}
